//
//  RedRecordCell.m
//  XiangCaoJiaYuan
//
//  Created by tongj on 2017/8/24.
//  Copyright © 2017年 tongj. All rights reserved.
//

#import "RedRecordCell.h"

@implementation RedRecordCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
-(void)setModel:(RedRecordModel *)model{
    self.packet_count.text = [NSString stringWithFormat:@"红包个数:%d个",model.packet_count];
    self.zonge.text = [NSString stringWithFormat:@"红包总额:%d元",model.packet_sum];
    self.participants_num.text = [NSString stringWithFormat:@"参与人数:%d人",model.participants_num];
    self.createTime.text = [NSString stringWithFormat:@"%@",model.create_time];
    self.remain_num.text = [NSString stringWithFormat:@"剩余红包:%d个",model.participants_num];

}
@end
